package arquitetura.model;

import java.text.ParseException;
import java.util.Collection;

import to.Locacao;
import exceptions.ConexaoException;
import exceptions.ModelException;


public interface ModelLocacao {
	public void incluir(Locacao locacao) throws ConexaoException, ModelException;
	public void excluir(int codigo)throws ConexaoException, ModelException;
	public void alterar(Locacao lacacao) throws ConexaoException,ModelException;
	public Locacao consultar(int codigo) throws ConexaoException, ModelException;
	public Collection<String []> listarParaGrid(String parteDoNome) throws ConexaoException, ModelException;
	public int diferencaDiasData(String dataPrevista, String dataEntrega) throws ModelException, ParseException;
	public void devolucao(Locacao locacao) throws ConexaoException,ModelException;
	
}
